package a66weding.com.jiehuntong.dao.db.taskpic;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by admin on 2016/8/20.
 */
public class MyTaskPictureOpenHelper  extends SQLiteOpenHelper {

    public MyTaskPictureOpenHelper(Context context){
        super(context, "mytaskpicture.db", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table mytaskpicture (id integer primary key autoincrement, name varchar(20),pictrue varchar(100)) ");
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
